<html>
<head><meta charset="utf-8"><title>bootstrap RUSTC_STAGE variable · t-compiler/wg-rustc-dev-guide · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/index.html">t-compiler/wg-rustc-dev-guide</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html">bootstrap RUSTC_STAGE variable</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="177367510"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap%20RUSTC_STAGE%20variable/near/177367510" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html#177367510">(Oct 04 2019 at 18:40)</a>:</h4>
<p>Argh it drives me crazy when I get messages like this:</p>
<div class="codehilite"><pre><span></span>thread &#39;main&#39; panicked at &#39;RUSTC_STAGE was not set: NotPresent&#39;, src/libcore/result.rs:1165:5
</pre></div>


<p>is there some easy way to get access to all the env variables?</p>



<a name="177367521"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap%20RUSTC_STAGE%20variable/near/177367521" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html#177367521">(Oct 04 2019 at 18:40)</a>:</h4>
<p>there used to be a way to start a shell with the variables set</p>



<a name="177367533"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap%20RUSTC_STAGE%20variable/near/177367533" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html#177367533">(Oct 04 2019 at 18:40)</a>:</h4>
<p>oops wrong stream :)</p>



<a name="177371493"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap%20RUSTC_STAGE%20variable/near/177371493" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> amanjeev <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html#177371493">(Oct 04 2019 at 19:29)</a>:</h4>
<p>its all about learning at the end of the day. all streams lead to learning, my friend. <span aria-label="grinning face with smiling eyes" class="emoji emoji-1f601" role="img" title="grinning face with smiling eyes">:grinning_face_with_smiling_eyes:</span></p>



<a name="177561156"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap%20RUSTC_STAGE%20variable/near/177561156" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html#177561156">(Oct 07 2019 at 21:09)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> What is the correct stream for that? It's a question I have wanted to know the answer to too, and I think we could document it</p>



<a name="177563522"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap%20RUSTC_STAGE%20variable/near/177563522" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html#177563522">(Oct 07 2019 at 21:39)</a>:</h4>
<p><a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/env.20vars.20and.20x.2Epy.20.2338686" title="#narrow/stream/182449-t-compiler.2Fhelp/topic/env.20vars.20and.20x.2Epy.20.2338686">https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/env.20vars.20and.20x.2Epy.20.2338686</a></p>



<a name="177563770"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap%20RUSTC_STAGE%20variable/near/177563770" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html#177563770">(Oct 07 2019 at 21:42)</a>:</h4>
<p><span class="user-mention" data-user-id="198054">@mark-i-m</span> and is btw something nice to add to the guide :)</p>



<a name="177639200"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap%20RUSTC_STAGE%20variable/near/177639200" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html#177639200">(Oct 08 2019 at 17:33)</a>:</h4>
<p><span class="user-mention" data-user-id="198054">@mark-i-m</span> I think I meant <a class="stream" data-stream-id="182449" href="/#narrow/stream/182449-t-compiler.2Fhelp">#t-compiler/help</a> ;)</p>



<a name="177847976"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap%20RUSTC_STAGE%20variable/near/177847976" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html#177847976">(Oct 10 2019 at 20:00)</a>:</h4>
<p>btw <a href="https://github.com/rust-lang/rustc-guide/issues/436#issuecomment-540760385" target="_blank" title="https://github.com/rust-lang/rustc-guide/issues/436#issuecomment-540760385">https://github.com/rust-lang/rustc-guide/issues/436#issuecomment-540760385</a></p>



<a name="177848644"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap%20RUSTC_STAGE%20variable/near/177848644" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/bootstrap.20RUSTC_STAGE.20variable.html#177848644">(Oct 10 2019 at 20:07)</a>:</h4>
<p>could be nice to at least copy some of that content quickly somewhere meanwhile something better shaped is done</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>